package main

import "fmt"

func main() {
	//fmt.Println(111)
	var balance = [...]float64{2.1, 3.2, 5.2, 4.2}
	fmt.Println(balance)
	fmt.Println(balance[1:])
	fmt.Println(balance[1:2])
	fmt.Println(balance[:2])
	for k, v := range balance {
		fmt.Println(k, v)
	}
	var balances = [3][2]float64{{2.1, 2.2}, {2.3, 2.4}, {2.5, 2.6}}
	fmt.Println(balances)
	for k, v := range balances {
		fmt.Println(k, v)

	}
	fmt.Println(balances[0])
	fmt.Println(len(balances))
	fmt.Println(cap(balances))
}
